package rpc_netty.RegistryImpl;

import rpc_1.interfaces.ServiceRegisrty;

public class ServiceRegistryProvider {
    public static ServiceRegisrty getByName(String name){
        switch (name){
            case "Nacos": return new NacosServiceRegistry();
            default:
                   return new NacosServiceRegistry();
        }
    }
}
